package com.css.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.css.entity.ReDataHighacademy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Dbj
 * @date 2024年10月14日  10:25
 */
@Mapper
public interface ReDataHighacademyMapper extends BaseMapper<ReDataHighacademy> {
    @Select("select id num from data_highacademy where ST_Intersects(geom,st_geometryfromtext(#{geomText},4490))")
    List<ReDataHighacademy> selectCountByGeom(String geomText);
}
